package iws.g5.uebung3.impls;

import java.util.Random;

import iws.g5.uebung3.StateModel;
import iws.g5.uebung3.enums.EventType;
import iws.g5.uebung3.enums.OrganicType;
import iws.g5.uebung3.interfaces.LivingOrganicObject;
import iws.g5.uebung3.interfaces.OrganicObject;

public class Virus extends LivingOrganicObject implements OrganicObject {

	static Random rand = new Random(1);

	public Virus(StateModel env, int birthIteration) {
		super(env, birthIteration);
	}

	@Override
	public OrganicType getType() {
		return OrganicType.VIRUS;
	}

	@Override
	public void onEventTriggered(int iteration, EventType event) {
		if(event==EventType.CELLDIVISION){
			reproduce(iteration);
		}
	}
	
	public void reproduce(int iteration){

	}

}
